package com.mizhiquan.dao;

import com.mizhiquan.pojo.CircleFocus;
import com.mizhiquan.pojo.CircleFocusKey;

import java.util.List;

public interface CircleFocusMapper {
    int deleteByPrimaryKey(CircleFocusKey key);

    int insert(CircleFocus record);

    int insertSelective(CircleFocus record);

    CircleFocus selectByPrimaryKey(CircleFocusKey key);

    int updateByPrimaryKeySelective(CircleFocus record);

    int updateByPrimaryKey(CircleFocus record);
    
    //查询用户关注所有圈子的circleId
    List<CircleFocus> selectCircleFocusList(String userId);
}